REST interface, server for GET,PUT,POST,DELETE
Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…
I am getting a "Requests from this IP are not allowed" when trying to signin/signup to Entra ID for external providers
I am trying to follow the tutorial in the link https://learn.microsoft.com/en-us/entra/external-id/customers/tutorial-mobile-app-maui-sign-in-sign-out ... I have created the UserFlows ., but when running the app , I get a "Requests from this IP are…
Object reference not set to an instance of an object. [mono-rt] at FFImageLoading.Maui.CachedImage.SetupOnBeforeImageLoading
I am getting below exception when loading my MAUI application. System.NullReferenceException: 'Object reference not set to an instance of an object.' [mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to…
Sporadic System.Net.Http.HttpRequestException: Error while copying content to a stream.
Hi, I receive this sporadic error in subject while calling HttpClient.PostAsync(url, content). I want to make sure that this is not related to my code. public async Task<HttpResponseMessage> UploadPhotoAsync(string productId, MediaGallery…
How to use SystemWebAdapter SessionClient to share only registered keys and ignore the others
I am learning how to migrate a large .net framework application to .net core and am happy with the tooling provided by SystemWebAdapters and RemoteAppClient. The framework application uses session state extensively and it looks like the default behaviour…
WPF app not starting silently
Hi Folks, I have this strange problem: I created a new WPF project, when I press the Run button the app seems to start for bit, by briefly flashing a white screen and then immediately exists. There are no errors flagged other than a return code of 0, I…
How to open pdf file in modal popup in ASP.NET C#
I am developing ASP.NET application. i used gridview to insert, update and delete the data. Also, i am uploading documents in file server path. now, i am uploading all the documents as pdf and in past days i have uploaded document as image. Now and…
Stored Procedure not updating in edmx
Adding or updating a stored procedure in the EDMX file is currently not functioning as expected in the latest version of Visual Studio.
A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI
Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…
How to replace OperationContext in new V12 SDK Azure.Storage.Blobs
I'm switching from Microsoft.WindowsAzure.Storage to Azure.Storage.Blobs. In the former versions I could log retries, this seems to be missing in the new SDK. I used OperationContext for this: var context = new OperationContext(); …
When Microsoft will release Entity Framework 6.x (.NET Full framework) having Microsoft.Data.SQLClient support?
We are migrating our .NET Full framework 4.8 based Data Access Layer projects from System.Data.SQLClient to Micosoft.Data.SQLClient. While it is very straightforward for AD0.NET based projects, we do have some projects where we are also using EF 6.0. As…
ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"
I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…
Service Monitor
Hi, I want a worker service with config file of time when to restart a given service. In the config file will be the time. the service will run always and when time reach check if service is running to restart it. Thanks in advance,
Breaking Change
Created a brand new Blazor Web Assembly Stand Alone project with Visual Studio 2022, .net 8. Updated the "Microsoft.AspNetCore.Components.WebAssembly" commponents from Version="8.0.3" to Version="8.0.6" The app does not…
How to log or audit for any weak cyphers, encryption, or hashes in use?
How can I activate or run an audit on my Windows Server 2016, 2019, and 2022 Application, Web, and Database servers to verify if any weak cyphers, encryption, or hashes are in use? I'm about to apply the following enforcement using the Group Policy…
How to handle internet connection in MAUI WebView
I have created MAUI app with webview. In webview I am call website url. If the interconnection is lost I want to show message internet connection is lost. MainPage.xaml <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …
Can These iOS and Java Libraries Have Bindings to a Xamarin.Forms App?
Hi Xamarin Experts, Coming from a purely Windows/.NET background, I'm struggling to work out if the following two iOS and Java/Android libraries can have bindings to a Xamarin.Forms app: mcumgr-ios Android-nRF-Connect-Device-Manager I…
Why does our Azure Function App with an Elastic Premium Plan take 8x longer to run a CPU-intensive .exe than our local machine or Azure App Service web job?
We've created Azure Function using .NET 6.0 Isolated. That function internally executes a .exe process to generate data regarding the application. The .exe file is CPU-intensive and 48MB in size. This .exe takes roughly 1 to 2 minutes to run on both my…
What does this setting do in IIS - Ssl Settings - Require SSL ?
I would like to understand the effect of this setting in IIS What happens when this check box named "Require SSL" is checked? Does this enable https: protocol on a http site? such that the website can be browsed with https: in the URL? Does…